#ifndef RANDOM_H_INCLUDED
#define RANDOM_H_INCLUDED

#include <my/Config.h>

namespace my {

/**
*   @brief Set a seed value for std::rand, automatically called once when program starts
*   @param s A seed value
*/
void MYAPI seed(unsigned int s);

/**
*   @brief A function to get a random (int) number between two values. Beware to give the minimal value FISRT !
*   @param min The minimal value that can be returned
*   @param max The maximal value that can be returned
*   @return An random int value
*/
int MYAPI random(int min, int max);

/**
*   @brief A function to get a random (floating) number between two values. Beware to give the minimal value FISRT !
*   @param min The minimal value that can be returned
*   @param max The maximal value that can be returned
*   @return An random floating value
*/
float MYAPI random(float min, float max);


}

#endif // RANDOM_H_INCLUDED
